const _ = require('lodash')
const { resolve } = require('../../helper')

module.exports = function(){
	const bundleInfo = require(resolve(this.appConf.bundleInfo))
	return _.transform(bundleInfo, (result, value, key) => {
		result[key] = value.id
	})
}